﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using xktComm.Common;
using iot.Pages.SimensPages;

namespace iot.pages
{
    public partial class SmzContril :UserControl
    {
        public SmzContril()
        {
            InitializeComponent();
        }

        private void tabPage1_Click(object sender, EventArgs e)
        {
            // Handle tabPage1 click event here
            tabPage1.Controls.Clear();
            var control = new S7200Control();
            control.Dock = DockStyle.Fill;
            tabPage1.Controls.Add(control);
        }

        private void tabs1_Paint(object sender, PaintEventArgs e)
        {
            // Fix for CS0019: Removed invalid "+=" operation
            // Fix for CS8625: Avoid passing null to non-nullable parameters
            tabPage1_Click(this, EventArgs.Empty);
        }
    }
}
